﻿using System.Text.Json.Serialization;

namespace Sirius.Entity
{
    public class Guild
    {
        //频道ID
        [JsonPropertyName("id")]
        public string Id { get; set; }

        //频道名称
        [JsonPropertyName("name")]
        public string Name { get; set; }

        //频道头像地址
        [JsonPropertyName("icon")]
        public string Icon { get; set; }

        //创建人用户ID
        [JsonPropertyName("owner_id")]
        public string owner_Id { get; set; }

        //当前人是否为创建人
        [JsonPropertyName("owner")]
        public bool owner { get; set; }

        //成员数
        [JsonPropertyName("member_count")]
        public int Member_count { get; set; }

        //最大成员数
        [JsonPropertyName("最大成员数")]
        public int Max_members { get; set; }

        //描述
        [JsonPropertyName("description")]
        public string Description { get; set; }

        //加入事件
        [JsonPropertyName("joined_at")]
        public string Joined_At { get; set; }
    }
}